<?php
my_component_load('testing' , false);
my_component_load('paging' , false);  
my_component_load('tmn_waktu_kerja_realisasi' );
$task = isset($_GET['task']) ? $_GET['task'] : "";  
$karyawan_id = isset( $_GET['karyawan_id'] ) ? $_GET['karyawan_id']:  0; 
$id = isset( $_GET['id'] ) ? $_GET['id']:  0; 
$tanggal = isset( $_GET['tanggal'] ) ? $_GET['tanggal']: 0; 
$modulname = "Personalia _BN_ Waktu Kerja _BN_ Realisasi _BN_ Capture Info";
  	
	if($task == "page_detail"){  
		$content =  data_harian_karyawan($karyawan_id  ) ;  
		generate_my_web($content, "" , 'plain.php' );
		exit;  	 
	}else{ 

		$karyawan = loaddata_karyawan($karyawan_id); 
		$title="Data finger ".$karyawan['nik'] ." : ".$karyawan['nama_gelar']; 
		facebox_page('index.php?com='.$_GET['com'].'&task=page_detail&date_start='.$_GET['date_start'].'&date_end='.$_GET['date_end'].'&karyawan_id='.$_GET['karyawan_id']  , $title , 390	); 
	} 
generate_my_web($content, $pagename ,'plain.php');
?>